package com.fled.itsmbigscreen.mapper;

import com.fled.itsmbigscreen.pojo.PduElectricity;
import com.fled.itsmbigscreen.pojo.PduElectricityExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface PduElectricityMapper {
    int deleteByExample(PduElectricityExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(PduElectricity record);

    int insertSelective(PduElectricity record);

    List<PduElectricity> selectByExample(PduElectricityExample example);
    List<PduElectricity> selectLastElectricity(@Param("pduIds")List<Integer> pduIds);

    PduElectricity selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(PduElectricity record);

    int updateByPrimaryKey(PduElectricity record);
}